package com.rwb.springboot.sell.dao;

import com.rwb.springboot.sell.vo.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by ruwenbo on 2017/12/19.
 */
public interface OrderDetailRepository extends JpaRepository<OrderDetail, String> {

    /**
     * 根据订单编号查询订单明细
     * @param orderId
     * @return
     */
    List<OrderDetail> findByOrderId(String orderId);
}
